package com.lgj.auth.code;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 自定义登陆页面
 */
@Controller
public class AuthLoginController {

    @GetMapping("/auth/login")
    public String loginPage(Model model){
        model.addAttribute("loginProcessUrl","/auth/authorize");
        return "base-login";
    }
}
